package com.honglu.backend.common.baseEntityBo;

/**
 * 公用
 * @author 
 */
public class BaseBo {
	
	// 这2个参数由layui页面初始化list表单时，传过来
		private Integer	pageIndex = 0;// 当前页码
		private Integer pageSize = 10;// 当前页条数
		
		
		public BaseBo() {
		}
		
		public Integer getPageIndex() {
			return pageIndex;
		}
		public void setPageIndex(Integer pageIndex) {
			if(pageIndex != null && pageIndex >=1){// 当前页
				this.pageIndex = (pageIndex - 1 )*10;
			}else{
				this.pageIndex = pageIndex;
			}
			
		}
		public Integer getPageSize() {
			return pageSize;
		}
		public void setPageSize(Integer pageSize) {
			this.pageSize = pageSize;
		}
		
		
		
	}
